<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <link rel="stylesheet" href="../css/common/weui.css" />
    <link rel="stylesheet" href="../css/common/weuix.css" />
    <link rel="stylesheet" href="../css/common/common.css" />
    <script src="../js/common/utils/zepto.min.js"></script>
    <script src="../js/common/utils/zepto.weui.js"></script>
    <script src="../js/common/common.js"></script>
    <script src="../js/common/utils/qrcode.js"></script>
    <script src="../js/common/utils/template-web.js"></script>
    <script src="../js/common/utils/JsBarcode.all.min.js" type="text/javascript"></script>
    <script src="../js/shop_patient_prescription.js"></script>
    <script type="text/javascript">
        var jsonShop, RxStateCode, RxStateName; //药店用户登录信息、处方状态编码、处方状态名称（对应关系见方法getRxStateName）
    </script>

</head>
<body ontouchstart>
	<!-- 页面头部 -->
	<div class="prescription-header-container header-container">
		<div class="weui-flex">
		    <div class="weui-flex__item">
		        <div class="placeholder">
		            <span class="icon icon-109" style="color:#FFF; margin:0px;" onclick="actPageGo(-1)"></span>
		        </div>
		    </div>
		    <div class="weui-flex__item"><div class="placeholder" style="text-align:right;color:#FFF;"></div></div>
		</div> 
	</div>
	
	<!-- 页面内容 -->
	<div class="prescription-body-container body-container">
		<div class="weui-panel__bd" id="shop_prescription_list">
		
				
		</div>
	</div>
	
	<!-- 页面底部 -->
	<div class="footer-container">
		<div id="footer_menu"></div>
	</div>
	
	<!-- 订单数据列表 -->
	<script id="shopPrescriptionList" type="text/html">
		<div class="weui-panel weui-panel_access">
			<div class="weui-panel__hd">此列表只能查看处方，点击列表可查看处方详情</div>
			<div class="weui-panel__bd">
				{{each list as value i}}
					<a href="javascript:void(0);" class="weui-media-box weui-media-box_appmsg" data-Pid={{value.order_id}} data-Iid={{value.order_id}}>
						<div class="weui-media-box__hd">
							<img class="weui-media-box__thumb" src="../images/timg.jpg" alt="">
						</div>
						<div class="weui-media-box__bd">
							<h4 class="weui-media-box__title">{{value.patient_name === "" ? "杨静" : value.patient_name}}</h4>
							<p class="weui-media-box__desc first-p">处方号: {{value.order_id}} </p>
							<p class="weui-media-box__desc last-p">{{value.create_date}} </p>
						</div>
						<div class="weui-cell__ft">
							<p class="first-p">{{value.indent_state}}</p>
							<p class="last-p">{{value.pay_status === "0" ? "未支付" : "已支付"}}</p>
							<p class="last-p">{{value.take_type === "1" ? "自取订单" : "物流订单"}}</p>
						</div>
					</a>
				{{/each}}
			</div>
		</div>
	</script>
	
	<script id="noData" type="text/html">
		<div class="weui-msgbox" style="opacity: 1; height: 100px;" id="s3">
		    <p>
		        <i class="weui-icon-info-circle"></i>暂无数据
		    </p>
		</div>
	</script>
</body>
<script type="text/javascript">
    
</script>
</html>
